package tankgame02_move;

import javax.swing.*;

public class TankGame02 extends JFrame {
    MyPanle mp =null;
    public static void main(String[] args) {
        new TankGame02();
    }
    public TankGame02(){
        mp=new MyPanle();
        this.add(mp);
        this.addKeyListener(mp);
        this.setSize(1000,750);
        this.setVisible(true);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
